public class Son1 extends Father1{
    private String hobby;
    public Son1(String name,int age,String hobby){
        super(name,age);
        this.hobby=hobby;
        System.out.println(getClass()+"有参构造器");
    }
    public Son1(){
        System.out.println("子类的无参构造器");
    }
}
